/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.inftel.primeproject.remote;

import java.util.List;
import javax.ejb.Remote;
import org.inftel.primeproject.model.Users;

/**
 *
 * @author inftel
 */
@Remote
public interface UsersFacadeRemote {

    void create(Users users);

    void edit(Users users);

    void remove(Users users);

    Users find(Object id);

    List<Users> findAll();

    List<Users> findRange(int[] range);

    int count();

    Users findByMail(java.lang.String email);

    long countBySex(char sex);
    
}
